#ifndef WAVEFORM_H
#define WAVEFORM_H

#include <QDialog>

namespace Ui {
class WaveForm;
}

class WaveForm : public QDialog
{
    Q_OBJECT
signals:
    void closeForm();

public:
    explicit WaveForm(QWidget *parent = nullptr);
    ~WaveForm();

    void setCurrentValue(float fCurrent);
    void setVoltageValue(float fVoltage);
    void setCurVolValue(float fCurrent,float fVoltage);

protected slots:
    void closeEvent(QCloseEvent *e) override;

private:
    Ui::WaveForm *ui;
};

#endif // WAVEFORM_H
